package com.gitee.neuray.security.auth;


import com.gitee.neuray.security.common.config.DruidConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.Import;

//import org.springframework.cloud.bus.jackson.RemoteApplicationEventScan;

/**
 * Created by 东睿小组
 * @author zhhongyu
 * @des
 */
@SpringBootApplication
@EnableFeignClients({"com.gitee.neuray.security.auth.feign"})
@MapperScan("com.gitee.neuray.security.auth.mapper")
@Import(DruidConfig.class)
@EnableDiscoveryClient
@EnableHystrix
//@RemoteApplicationEventScan(basePackages = "com.gitee.neuray.security.auth.common.event")
public class BaseAuthBootstrap {
    public static void main(String[] args) {
        SpringApplication.run(BaseAuthBootstrap.class, args);
    }
}
